<template>
  <div id="app">
    <Navbar />
    <router-view />
    <footer class="footer">
      <div class="container">
        <p>© 2025 端午节文化传承-Web前端框架技术1班期末设计 | 郑州西亚斯学院 张浩 设计制作</p>
      </div>
    </footer>
  </div>
</template>

<script>
import Navbar from './components/Navbar.vue'

export default {
  name: 'App',
  components: {
    Navbar
  }
}
</script>

<style scoped>
#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
  background-color: #2E8B57;
  color: white;
  padding: 20px 0;
  text-align: center;
}
</style>